package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.Patient;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Repository
public interface IPatientRepository extends BaseJpaRepository<Patient, Long>  {

    List<Patient> findByIdIn(Collection<Long> patientIds);


    List<Patient> findByIdInAndAccountStatus(List<Long> patientId, int accountStatus);
}
